[INFO] cloning repository https://github.com/ziita1111/uefi-bootloader
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ziita1111/uefi-bootloader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziita1111%2Fuefi-bootloader", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziita1111%2Fuefi-bootloader'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2c027fd1d3f3a63c9b88f19a71335bacafc8a533
[INFO] checking ziita1111/uefi-bootloader against try#34585ff556bad2462429cd3775623c743928a72f for pr-102593
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziita1111%2Fuefi-bootloader" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ziita1111/uefi-bootloader on toolchain 34585ff556bad2462429cd3775623c743928a72f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ziita1111/uefi-bootloader
[INFO] finished tweaking git repo https://github.com/ziita1111/uefi-bootloader
[INFO] tweaked toml for git repo https://github.com/ziita1111/uefi-bootloader written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/ziita1111/uefi-bootloader already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6cf2c1562bec9e2286b2c92185daa22ea9b8aab78d1a741831a93ff42a60326a
[INFO] running `Command { std: "docker" "start" "-a" "6cf2c1562bec9e2286b2c92185daa22ea9b8aab78d1a741831a93ff42a60326a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6cf2c1562bec9e2286b2c92185daa22ea9b8aab78d1a741831a93ff42a60326a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6cf2c1562bec9e2286b2c92185daa22ea9b8aab78d1a741831a93ff42a60326a", kill_on_drop: false }`
[INFO] [stdout] 6cf2c1562bec9e2286b2c92185daa22ea9b8aab78d1a741831a93ff42a60326a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e91a66d8f72408408ec696d3a563f3e792bbce47b2212e80aaf2f202c6fa9b2
[INFO] running `Command { std: "docker" "start" "-a" "8e91a66d8f72408408ec696d3a563f3e792bbce47b2212e80aaf2f202c6fa9b2", kill_on_drop: false }`
[INFO] [stderr]     Checking uefi-bootloader v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/console.rs:11:43
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub extern "C" fn efi_print(&self, s: &str) -> EFI_STATUS{
[INFO] [stdout]    |                                           ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/console.rs:25:46
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub extern "C" fn efi_print_u8(&self, s: &[u8]) -> EFI_STATUS {
[INFO] [stdout]    |                                              ^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u16]`, which is not FFI-safe
[INFO] [stdout]   --> src/console.rs:38:47
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub extern "C" fn efi_print_u16(&self, s: &[u16]) -> EFI_STATUS {
[INFO] [stdout]    |                                               ^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/console.rs:11:43
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub extern "C" fn efi_print(&self, s: &str) -> EFI_STATUS{
[INFO] [stdout]    |                                           ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/console.rs:25:46
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub extern "C" fn efi_print_u8(&self, s: &[u8]) -> EFI_STATUS {
[INFO] [stdout]    |                                              ^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u16]`, which is not FFI-safe
[INFO] [stdout]   --> src/console.rs:38:47
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub extern "C" fn efi_print_u16(&self, s: &[u16]) -> EFI_STATUS {
[INFO] [stdout]    |                                               ^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `Result<u64, ()>`, which is not FFI-safe
[INFO] [stdout]  --> src/mm.rs:6:61
[INFO] [stdout]   |
[INFO] [stdout] 6 |     alloctype: EFI_ALLOCATE_TYPE, memtype: EFI_MEMORY_TYPE) -> Result<u64, ()> {
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]   = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `Result<u64, ()>`, which is not FFI-safe
[INFO] [stdout]   --> src/mm.rs:16:55
[INFO] [stdout]    |
[INFO] [stdout] 16 | extern "C" fn efi_allocate_any_pages(pages: usize) -> Result<u64, ()> {
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `Result<(), ()>`, which is not FFI-safe
[INFO] [stdout]   --> src/mm.rs:26:81
[INFO] [stdout]    |
[INFO] [stdout] 26 |     mut map_key: &mut usize, mut desc_size: &mut usize, mut desc_ver: &mut u32) -> Result<(),()> {
[INFO] [stdout]    |                                                                                    ^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]  --> src/util.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub extern "C" fn str_to_u16(s: &str) -> [u16;1000] {
[INFO] [stdout]   |                                 ^^^^ not FFI-safe
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider using `*const u8` and a length instead
[INFO] [stdout]   = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u16; 1000]`, which is not FFI-safe
[INFO] [stdout]  --> src/util.rs:3:42
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub extern "C" fn str_to_u16(s: &str) -> [u16;1000] {
[INFO] [stdout]   |                                          ^^^^^^^^^^ not FFI-safe
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider passing a pointer to the array
[INFO] [stdout]   = note: passing raw arrays by value is not FFI-safe
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/util.rs:13:31
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub extern "C" fn print_u8(s: &[u8]) {
[INFO] [stdout]    |                               ^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u16]`, which is not FFI-safe
[INFO] [stdout]   --> src/util.rs:19:32
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub extern "C" fn print_u16(s: &[u16]) {
[INFO] [stdout]    |                                ^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `Result<u64, ()>`, which is not FFI-safe
[INFO] [stdout]  --> src/mm.rs:6:61
[INFO] [stdout]   |
[INFO] [stdout] 6 |     alloctype: EFI_ALLOCATE_TYPE, memtype: EFI_MEMORY_TYPE) -> Result<u64, ()> {
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]   = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `Result<u64, ()>`, which is not FFI-safe
[INFO] [stdout]   --> src/mm.rs:16:55
[INFO] [stdout]    |
[INFO] [stdout] 16 | extern "C" fn efi_allocate_any_pages(pages: usize) -> Result<u64, ()> {
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `Result<(), ()>`, which is not FFI-safe
[INFO] [stdout]   --> src/mm.rs:26:81
[INFO] [stdout]    |
[INFO] [stdout] 26 |     mut map_key: &mut usize, mut desc_size: &mut usize, mut desc_ver: &mut u32) -> Result<(),()> {
[INFO] [stdout]    |                                                                                    ^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]  --> src/util.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub extern "C" fn str_to_u16(s: &str) -> [u16;1000] {
[INFO] [stdout]   |                                 ^^^^ not FFI-safe
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider using `*const u8` and a length instead
[INFO] [stdout]   = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u16; 1000]`, which is not FFI-safe
[INFO] [stdout]  --> src/util.rs:3:42
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub extern "C" fn str_to_u16(s: &str) -> [u16;1000] {
[INFO] [stdout]   |                                          ^^^^^^^^^^ not FFI-safe
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider passing a pointer to the array
[INFO] [stdout]   = note: passing raw arrays by value is not FFI-safe
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/util.rs:13:31
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub extern "C" fn print_u8(s: &[u8]) {
[INFO] [stdout]    |                               ^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u16]`, which is not FFI-safe
[INFO] [stdout]   --> src/util.rs:19:32
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub extern "C" fn print_u16(s: &[u16]) {
[INFO] [stdout]    |                                ^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ptr`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use core::ptr;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout]   |
[INFO] [stdout]   = note: this can occur when a binary crate with `#![no_std]` is compiled for a target where `eh_personality` is defined in the standard library
[INFO] [stdout]   = help: you may be able to compile for a target that doesn't need `eh_personality`, specify a target with `--target` or in `.cargo/config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:26:2
[INFO] [stdout]    |
[INFO] [stdout] 23 | /     loop{
[INFO] [stdout] 24 | |
[INFO] [stdout] 25 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 26 |       EFI_STATUS::SUCCESS
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ptr`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use core::ptr;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> src/main.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn panic(_panic: &PanicInfo<'_>) -> ! {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]    = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/34585ff556bad2462429cd3775623c743928a72f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3dd5f78c3b43746e.rlib
[INFO] [stdout]    = note: second definition in the local crate (`uefi_bootloader`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:26:2
[INFO] [stdout]    |
[INFO] [stdout] 23 | /     loop{
[INFO] [stdout] 24 | |
[INFO] [stdout] 25 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 26 |       EFI_STATUS::SUCCESS
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `uefi-bootloader` due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `uefi-bootloader` due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8e91a66d8f72408408ec696d3a563f3e792bbce47b2212e80aaf2f202c6fa9b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e91a66d8f72408408ec696d3a563f3e792bbce47b2212e80aaf2f202c6fa9b2", kill_on_drop: false }`
[INFO] [stdout] 8e91a66d8f72408408ec696d3a563f3e792bbce47b2212e80aaf2f202c6fa9b2
